@echo off  
setlocal enabledelayedexpansion  
  
for /d %%d in (*) do (  
    if exist "%%d\obj" (  
        echo Deleting %%d\obj...  
        rd /s /q "%%d\obj"  
    )  
    if exist "%%d\.vs" (  
        echo Deleting %%d\.vs...  
        rd /s /q "%%d\.vs"  
    )  
   if exist "%%d\bin\Release" (  
        echo Deleting %%d\bin\Release...  
        rd /s /q "%%d\bin\Release"  
    )  
)  
  
echo Done.  
pause